package com.tianruan.dc.common.utils.wechat.qy;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author: Dong
 * @Email: dong980514280@gmail.com
 * @Create: 2022-02-17 15:21
 * @PS
 */
@Data
public class MessageJson {

    private String touser;
    private String agentid;
    private String msgtype;
    private MiniprogramNotice miniprogram_notice = new MiniprogramNotice();
    private Integer enable_id_trans;
    private Integer enable_duplicate_check;
    private Integer duplicate_check_interval;

    @Data
    public class MiniprogramNotice {

        private String appid;
        private String page;
        private String title;
        private String description;
        private Boolean emphasis_first_item;
        private List<Map<String, String>> content_item;

    }


}
